import {http} from '@/utils/http'

// 添加信息源分类
export function addCrawlerUrlCategory(data: any) {
    return http.post<any>('/admin/crawlerUrlCategory/addCrawlerUrlCategory', data)
}

// 修改信息源分类
export function updateCrawlerUrlCategory(data: any) {
    return http.post<any>('/admin/crawlerUrlCategory/updateCrawlerUrlCategory', data)
}

// 删除信息源分类
export function deleteCrawlerUrlCategory(id: string) {
    return http.post<any>('/admin/crawlerUrlCategory/deleteCrawlerUrlCategory/' + id)
}

// 获取信息源分类详情
export function getCrawlerUrlCategory(id: any) {
    return http.post<any>('/admin/crawlerUrlCategory/getCrawlerUrlCategory/' + id)
}

// 获取信息源分类分页列表
export function getCrawlerUrlCategoryPage(data: any) {
    return http.post<any>('/admin/crawlerUrlCategory/getCrawlerUrlCategoryPage', data)
}

// 获取信息源分类列表
export function getCrawlerUrlCategoryList(data: any) {
    return http.post<any>('/admin/crawlerUrlCategory/getCrawlerUrlCategoryList', data)
}



















